package main

import (
    "fmt"
    "golang.org/x/crypto/bcrypt"
)

func main() {
    password := "admin123"
    hash := "$2a$10$lItXQCsmBXR9vunx.1xh4Obdrf/BYrs3LyYfjIE49o2IKb58ZtEUC"
    
    if err := bcrypt.CompareHashAndPassword([]byte(hash), []byte(password)); err != nil {
        fmt.Println("Password doesn't match:", err)
    } else {
        fmt.Println("Password matches!")
    }
}
